package com.mobile.check.beans;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * 类名: TaskItemInfo
 * 作者: 李学伟
 * 日期: 2020年10月09日 13:40
 * 描述:
 */
@Entity
public class TaskItemInfo {
    @Id
    private Long _ID;
    private Long parentId;//任务的id

    private String taskName;//任务名称 文件名字 不包含后缀
    private String testId;
    private String device;//装置名称
    private String area;//区域
    private String equipment;//设备名称
    private String label;//标签号
    private String locationDesc;//位置描述
    private String assemblyType;//组件类型
    private String assemblyChildType;//组件子类型
    private String leakValue;//泄漏阈值
    private String minStopTime;//最小停留时间
    private String testDate;//检测日期
    private String repeatDate;//复测日期
    private String testDevice;//检测仪器
    private String repeatDevice;//复测仪器
    private String testValue;//检测值
    private String repeatValue;//复测值
    private String repeatTestValue;//复测值
    private String isLeak;//是否泄漏 0 1
    private String leakLocation;//泄漏部位
    private String backGround;//背景值
    private String testPerson;//检测人员
    private String repeatPerson;//检测人员
    private String testPic;//组件图片
    private String desc;//备注
    private String indoor;//室内
    private String testPath;//检测路径
    private String leakSpeed;//每分滴漏数
    private String leakFilePath;//泄漏点生成的图片位置
    private boolean isHadTest;//是否已检测
    private boolean isQualified;//是否合格
    private String repairDate;//维修日期
    private String repairMethed;//维修方法
    private String repairPerson;//维修人员
    private String filePath;
    private int cellIndex;//没用的
    private int rowIndex;//excel中的行号


    private String title;


    @Generated(hash = 674880457)
    public TaskItemInfo(Long _ID, Long parentId, String taskName, String testId, String device, String area, String equipment, String label,
            String locationDesc, String assemblyType, String assemblyChildType, String leakValue, String minStopTime, String testDate, String repeatDate,
            String testDevice, String repeatDevice, String testValue, String repeatValue, String repeatTestValue, String isLeak, String leakLocation,
            String backGround, String testPerson, String repeatPerson, String testPic, String desc, String indoor, String testPath, String leakSpeed,
            String leakFilePath, boolean isHadTest, boolean isQualified, String repairDate, String repairMethed, String repairPerson, String filePath,
            int cellIndex, int rowIndex, String title) {
        this._ID = _ID;
        this.parentId = parentId;
        this.taskName = taskName;
        this.testId = testId;
        this.device = device;
        this.area = area;
        this.equipment = equipment;
        this.label = label;
        this.locationDesc = locationDesc;
        this.assemblyType = assemblyType;
        this.assemblyChildType = assemblyChildType;
        this.leakValue = leakValue;
        this.minStopTime = minStopTime;
        this.testDate = testDate;
        this.repeatDate = repeatDate;
        this.testDevice = testDevice;
        this.repeatDevice = repeatDevice;
        this.testValue = testValue;
        this.repeatValue = repeatValue;
        this.repeatTestValue = repeatTestValue;
        this.isLeak = isLeak;
        this.leakLocation = leakLocation;
        this.backGround = backGround;
        this.testPerson = testPerson;
        this.repeatPerson = repeatPerson;
        this.testPic = testPic;
        this.desc = desc;
        this.indoor = indoor;
        this.testPath = testPath;
        this.leakSpeed = leakSpeed;
        this.leakFilePath = leakFilePath;
        this.isHadTest = isHadTest;
        this.isQualified = isQualified;
        this.repairDate = repairDate;
        this.repairMethed = repairMethed;
        this.repairPerson = repairPerson;
        this.filePath = filePath;
        this.cellIndex = cellIndex;
        this.rowIndex = rowIndex;
        this.title = title;
    }

    @Generated(hash = 933902243)
    public TaskItemInfo() {
    }


    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Long get_ID() {
        return this._ID;
    }

    public void set_ID(Long _ID) {
        this._ID = _ID;
    }

    public Long getParentId() {
        return this.parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getTestId() {
        return this.testId;
    }

    public void setTestId(String testId) {
        this.testId = testId;
    }

    public String getDevice() {
        return this.device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public String getArea() {
        return this.area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getEquipment() {
        return this.equipment;
    }

    public void setEquipment(String equipment) {
        this.equipment = equipment;
    }

    public String getLabel() {
        return this.label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getLocationDesc() {
        return this.locationDesc;
    }

    public void setLocationDesc(String locationDesc) {
        this.locationDesc = locationDesc;
    }

    public String getAssemblyType() {
        return this.assemblyType;
    }

    public void setAssemblyType(String assemblyType) {
        this.assemblyType = assemblyType;
    }

    public String getAssemblyChildType() {
        return this.assemblyChildType;
    }

    public void setAssemblyChildType(String assemblyChildType) {
        this.assemblyChildType = assemblyChildType;
    }

    public String getLeakValue() {
        return this.leakValue;
    }

    public void setLeakValue(String leakValue) {
        this.leakValue = leakValue;
    }

    public String getMinStopTime() {
        return this.minStopTime;
    }

    public void setMinStopTime(String minStopTime) {
        this.minStopTime = minStopTime;
    }

    public String getTestDate() {
        return this.testDate;
    }

    public void setTestDate(String testDate) {
        this.testDate = testDate;
    }

    public String getTestDevice() {
        return this.testDevice;
    }

    public void setTestDevice(String testDevice) {
        this.testDevice = testDevice;
    }

    public String getTestValue() {
        return this.testValue;
    }

    public void setTestValue(String testValue) {
        this.testValue = testValue;
    }

    public String getIsLeak() {
        return this.isLeak;
    }

    public void setIsLeak(String isLeak) {
        this.isLeak = isLeak;
    }

    public String getLeakLocation() {
        return this.leakLocation;
    }

    public void setLeakLocation(String leakLocation) {
        this.leakLocation = leakLocation;
    }

    public String getBackGround() {
        return this.backGround;
    }

    public void setBackGround(String backGround) {
        this.backGround = backGround;
    }

    public String getTestPerson() {
        return this.testPerson;
    }

    public void setTestPerson(String testPerson) {
        this.testPerson = testPerson;
    }

    public String getTestPic() {
        return this.testPic;
    }

    public void setTestPic(String testPic) {
        this.testPic = testPic;
    }

    public String getDesc() {
        return this.desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getIndoor() {
        return indoor;
    }

    public void setIndoor(String indoor) {
        this.indoor = indoor;
    }

    public String getTestPath() {
        return testPath;
    }

    public void setTestPath(String testPath) {
        this.testPath = testPath;
    }

    public String getLeakSpeed() {
        return leakSpeed;
    }

    public void setLeakSpeed(String leakSpeed) {
        this.leakSpeed = leakSpeed;
    }

    public boolean isHadTest() {
        return isHadTest;
    }

    public boolean getIsHadTest() {
        return this.isHadTest;
    }

    public void setIsHadTest(boolean isHadTest) {
        this.isHadTest = isHadTest;
    }

    public boolean isQualified() {
        return isQualified;
    }


    public boolean getIsQualified() {
        return this.isQualified;
    }

    public void setIsQualified(boolean isQualified) {
        this.isQualified = isQualified;
    }

    public String getRepeatTestValue() {
        return repeatTestValue;
    }

    public void setRepeatTestValue(String repeatTestValue) {
        this.repeatTestValue = repeatTestValue;
    }

    public String getRepeatDate() {
        return repeatDate;
    }

    public void setRepeatDate(String repeatDate) {
        this.repeatDate = repeatDate;
    }

    public String getRepeatDevice() {
        return repeatDevice;
    }

    public void setRepeatDevice(String repeatDevice) {
        this.repeatDevice = repeatDevice;
    }

    public String getRepeatValue() {
        return repeatValue;
    }

    public void setRepeatValue(String repeatValue) {
        this.repeatValue = repeatValue;
    }

    public String getFilePath() {
        return this.filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getCellIndex() {
        return this.cellIndex;
    }

    public void setCellIndex(int cellIndex) {
        this.cellIndex = cellIndex;
    }

    public int getRowIndex() {
        return this.rowIndex;
    }

    public void setRowIndex(int rowIndex) {
        this.rowIndex = rowIndex;
    }

    public String getRepeatPerson() {
        return repeatPerson;
    }

    public void setRepeatPerson(String repeatPerson) {
        this.repeatPerson = repeatPerson;
    }


    public String getTaskName() {
        return taskName;
    }

    public void setTaskName(String taskName) {
        this.taskName = taskName;
    }

    public String getLeakFilePath() {
        return leakFilePath;
    }

    public void setLeakFilePath(String leakFilePath) {
        this.leakFilePath = leakFilePath;
    }

    public String getRepairDate() {
        return repairDate;
    }

    public void setRepairDate(String repairDate) {
        this.repairDate = repairDate;
    }

    public String getRepairMethed() {
        return repairMethed;
    }

    public void setRepairMethed(String repairMethed) {
        this.repairMethed = repairMethed;
    }

    public String getRepairPerson() {
        return repairPerson;
    }

    public void setRepairPerson(String repairPerson) {
        this.repairPerson = repairPerson;
    }

    @Override
    public String toString() {
        return "TaskItemInfo{" +
                "taskName=" + taskName +
                "device=" + device +
                "area=" + area +
                "equment=" + equipment +
                "label=" + label +
                ", testDate='" + testDate + '\'' +
                ", repeatDate='" + repeatDate + '\'' +
                ", testDevice='" + testDevice + '\'' +
                ", repeatDevice='" + repeatDevice + '\'' +
                ", testValue='" + testValue + '\'' +
                ", repeatValue='" + repeatValue + '\'' +
                ", testPerson='" + testPerson + '\'' +
                ", repeatPerson='" + repeatPerson + '\'' +
                '}';
    }
}
